package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货物发票信息对象 invoice
 * 
 * @author 格格本奈
 * @date 2024-03-06
 */
public class Invoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long id;

    /** 交易商品 */
    @Excel(name = "交易商品")
    private String goods;

    /** 进货员工 */
    @Excel(name = "进货员工")
    private String stock;

    /** 操作员工 */
    @Excel(name = "操作员工")
    private String operation;

    /** 发票号 */
    @Excel(name = "发票号")
    private String exchangeshop;

    /** 发票创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发票创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** 进货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crdate;

    /** 商品成交日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "商品成交日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shopdate;

    /** 进货单号 */
    @Excel(name = "进货单号")
    private String sto;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGoods(String goods) 
    {
        this.goods = goods;
    }

    public String getGoods() 
    {
        return goods;
    }
    public void setStock(String stock) 
    {
        this.stock = stock;
    }

    public String getStock() 
    {
        return stock;
    }
    public void setOperation(String operation) 
    {
        this.operation = operation;
    }

    public String getOperation() 
    {
        return operation;
    }
    public void setExchangeshop(String exchangeshop) 
    {
        this.exchangeshop = exchangeshop;
    }

    public String getExchangeshop() 
    {
        return exchangeshop;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setCrdate(Date crdate) 
    {
        this.crdate = crdate;
    }

    public Date getCrdate() 
    {
        return crdate;
    }
    public void setShopdate(Date shopdate) 
    {
        this.shopdate = shopdate;
    }

    public Date getShopdate() 
    {
        return shopdate;
    }
    public void setSto(String sto) 
    {
        this.sto = sto;
    }

    public String getSto() 
    {
        return sto;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goods", getGoods())
            .append("stock", getStock())
            .append("operation", getOperation())
            .append("exchangeshop", getExchangeshop())
            .append("remark", getRemark())
            .append("createdate", getCreatedate())
            .append("crdate", getCrdate())
            .append("shopdate", getShopdate())
            .append("sto", getSto())
            .toString();
    }
}
